home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mgr / rmgr.arc / Makefile next >
Encoding:
Makefile  |  1990-10-14  |  725 b   |  23 lines

  1. # The following options can be set:
  2. #
  3. # -DGETTTYENT -- your system has the new format /etc/ttys (like 4.3 BSD)
  4. #                and the getttyent(3) library functions.
  5. #
  6. # -DUSEBCOPY  -- use the bcopy() from the system's C-library.  If this
  7. #                is set, bcopy must support overlapping source and
  8. #                destination.  If USEBCOPY is not set, screen uses its
  9. #                own version of bcopy.
  10. #
  11. # You should install as set-uid with owner root, so that it can read/write
  12. # /etc/utmp, read /dev/kmem, and chown/chmod the allocated pseudo-ttys.
  13.  
  14. OPTIONS= -DUSEBCOPY -DGETTTYENT
  15.  
  16. CFLAGS= -O
  17.  
  18. rmgr: rmgr.o
  19.     $(CC) $(CFLAGS) -o rmgr rmgr.o -lmgr
  20.  
  21. rmgr.o: rmgr.c rmgr.h
  22.     $(CC) $(OPTIONS) $(CFLAGS) -c rmgr.c
  23.